package com.simple.llm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName("llm_usage_records")
@ApiModel
@AllArgsConstructor
@Builder
public class LLMUsageRecords {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("对话id")
    private String chatId;
    private String createUser;
    private Integer inputTokenCount;
    private Integer outputTokenCount;
    private Integer tokenCount;
    private String usageDesc;
    private Date recordTime;
    private String modelName;

}
